import Layout from '@/layout'

export default {
  path: '/check',
  component: Layout,
  redirect: '/check/product',
  name: 'CheckList',
  meta: { title: '审核管理', icon: 'message', noCache: true, roles: ['check'] },
  children: [
    {
      path: 'list',
      name: 'CSupplier',
      component: () => import('@/views/supplier/check'),
      meta: { title: '审核总汇', icon: 'star', noCache: true },
      // 这个是redis, 不准确
      hidden: true
    },
    {
      path: 'product',
      name: 'CProduct',
      component: () => import('@/views/product/check'),
      meta: { title: '审核产品', icon: 'star', noCache: true }
    },
    {
      path: 'category',
      name: 'CCategory',
      component: () => import('@/views/product/category/check'),
      meta: { title: '审核分类', icon: 'star', noCache: true },
      // 取消了商家的子分类
      hidden: true
    },
  ]
}
